package com.gupaoedu.baifc.staticproxy;

/**
 * projectName: baifc_proxy
 * packageName: com.gupaoedu.baifc.staticproxy
 * Created: 2019/3/18.
 * Auther: baifc
 * Description:
 */
public class OrderService implements IOrderService {

    private OrderDao orderDao;

    public OrderService() {
        orderDao = new OrderDao();
    }

    public void createOrder(Order order) {
        System.out.println("开始创建订单...");
        orderDao.insert(order);
    }
}
